<template>
  <div id="app">
    <router-view />
  </div>
</template>
<script>
import { getToken } from "@/utils/token";
export default {
  created() {
    if (getToken()) {
      this.$store.dispatch("GetUserInfo");
    }
  },
};
</script>
<style lang="scss">
</style>
